<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html>
<%@ page import=" com.demo.BookBean"%>
<jsp:useBean id="book" class="com.demo.BookBean" scope="session" />
<html><body>
<table border="1">
<tr><td>书号:</td>
<td><jsp:getProperty name="book" property="bookid"/></td>
</tr>
 <tr><td>书名: </td>
<td><jsp:getProperty name="book" property="title"/></td>
</tr>
<tr><td>作者:</td>
<td><jsp:getProperty name="book" property="author"/></td>
</tr>
<tr><td>出版社:</td>
<td><jsp:getProperty name="book" property="publisher"/></td>
</tr>
<tr><td>价格:</td>
<td><jsp:getProperty name="book" property="price"/></td>
</tr>
</table>
<a href="bookQuery.jsp">返回</a> 
</body></html>